#ifndef StockFileParser_H
#define StockFileParser_H
#include <list>
#include "candle.h"



//qt porting
#include <QFile>
#include <QTextStream>

//wrapper classes
#include "ohlcvset.h"

const int MAX=60;
using namespace std;

class StockFileParser
{
public:
    StockFileParser();

    //Qt porting
    bool isSingleStockFile(const QString filePath);
    bool isSingleStockFile(QFile *readFile);
    OHLCVSet getSingleStockSet(const QString filePath,  QString stockName);
    OHLCVSet getSingleStockSet(QFile *readFile,  QString stockName);

};

#endif // StockFileParser_H
